Skip to content
This repository has been archived by the owner on Dec 7, 2022. It is now read-only.

Switch Pulp to use sqlite3 as default #3344

Closed
wants to merge 2 commits into from

Conversation

bmbouter
Copy link
Member

@daviddavis
Copy link
Contributor

daviddavis commented Feb 27, 2018

Any chance you can update the Travis file to run against both sqlite and PostgreSQL? It would be a good check to ensure compatibility with both databases.

Edit: I think these changes should work.

'NAME': 'pulp',
'USER': 'pulp',
'ENGINE': 'django.db.backends.sqlite3',
'NAME': '',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like you still need a db name here.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah ... thename should be 'pulp'

This PR enables testing on both postgresql and sqlite.

Thanks to @daviddavis for the .travis file changes!

re pulp#3359
@bmbouter
Copy link
Member Author

I pushed those changes, but it says it's running Ruby for some reason on Travis? This Job has config:



{
  "language": "ruby",
  "os": "linux",
  "group": "stable",
  "dist": "trusty"
}

hmmmm?

@bmbouter
Copy link
Member Author

ok test

@daviddavis
Copy link
Contributor

daviddavis commented Feb 28, 2018

The .travis.yml had bad escaping in it and Travis couldn't parse it. So it reverted to the default language (ruby).

I've fixed it here though: #3348.

Apologies!

# NAME: pulp
# USER: pulp
# ENGINE: django.db.backends.sqlite3
# NAME:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fyi, this needs to be 'pulp'

@bmbouter
Copy link
Member Author

bmbouter commented Mar 1, 2018

Closing because daviddavis fixed it! #3348 (review)

@bmbouter bmbouter closed this Mar 1, 2018
@bmbouter bmbouter deleted the switch-to-sqlite branch March 2, 2018 16:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants